# ******************************************************************************
# * Version: 1.0
# * Last modified on: 21 January, 2013
# * Developers: Michael G. Epitropakis, Xiaodong Li.
# *      email: mge_(AT)_cs_(DOT)_stir_(DOT)_ac_(DOT)_uk
# *           : xiaodong_(DOT)_li_(AT)_rmit_(DOT)_edu_(DOT)_au
# * ****************************************************************************
CFLAGS = -Wall -pedantic  -O4
CC = g++
LDFLAGS= -Wl,-rpath
OBJECTS = ./CEC2013/cec2013.o ./CEC2013/cfunction.o ./CEC2013/rand2.o Self_Define_Functions.o
INCLUDE = ./CEC2013/cec2013.h ./CEC2013/cfunction.h

all:  PRMDE


PRMDE: PRMDE.o $(OBJECTS) $(INCLUDE)
	$(CC) $(CFLAGS) -o PRMDE PRMDE.o $(OBJECTS)
PRMDE.o: $(INCLUDE) PRMDE.cpp
	$(CC) $(CFLAGS) -c PRMDE.cpp


Self_Define_Functions.o:  ./CEC2013/cec2013.h Self_Define_Functions.h Self_Define_Functions.cpp
	$(CC) $(CFLAGS) -c Self_Define_Functions.cpp

/CEC2013/cec2013.o: ./CEC2013/cec2013.h ./CEC2013/cec2013.cpp ./CEC2013/cfunction.h ./CEC2013/cfunction.cpp
	$(CC) $(CFLAGS) -c ./CEC2013/cec2013.cpp

/CEC2013/cfunction.o: ./CEC2013/cfunction.h ./CEC2013/cfunction.cpp
	$(CC) $(CFLAGS) -c ./CEC2013/cfunction.cpp

/CEC2013/rand2.o: ./CEC2013/rand2.c ./CEC2013/rand2.h
	$(CC) $(CFLAGS) -c ./CEC2013/rand2.c

clean:
	rm -f  $(OBJECTS)
	rm -f  PRMDE.o
